package com.shanjupay.paymentagent.config;

import com.shanjupay.paymentagent.controller.TestPayController;

public class AlipayConfig {

    // 商户appid
    //沙箱环境
     public static String APPID = "2016093000632231";

    //生产环境
    // public static String APPID = "2019060665489514";


    // 私钥 pkcs8格式的
    public static String RSA_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCA6KP9RKANU57PmWrs8hVo8LuVuFax+HQPNOD7LWz4hSj4nO9aiZ0hWpkeSwrRewmrQHCbEe4AXtfq9z+z1xcU9m59zebZkiYBWG1DlT4mwjMlc/mA6J822bUPCNz/QU2ZwCRWD8MbPlP3oFrpQrWKnOOG9km0Ev+Y/m1ZFk7CbQrVY+7sWbpcvniy/w7vVv439I/mINyQa7bmAgODl/0oPK8I+poY/fRqFd8/XeGLqFJj0RLbHU53W0Xl5qbUH+iSKIxHijtUrIqM/WlAHrTKmPx24A8gOVP3bZuVKBIDwAa0VYcRurgfhFIzGf4+VFEjQQt79KAUY36lB2iSpsbdAgMBAAECggEAa9aygUhsgFmIzHCyg3/NK1ngA1MPq5iGNsZsw5NvysNS0BAxJ9NhkKqC11W9uhqsrwecbA1mxgaRqG2oa+Eu3Ql+y115ll9tzchUt6ndMX1aXiWT/yQbNT6Q+f/XKO5PZaTYgOp0tJDCm7AY/XQh/NBcguX8KFmQW0PU5CcGQhzN09GYJCN9MQRN1428UhcTIACifcUNqDZYFP2V3iBNr/DwC14cTKk/fRtFBXOGHQGWfiDfZb9ybUrVAhQarkmzEDmxO6OrX9f8AZmeSRpmvnYgo4YOBLLgwJbqSoau+F6XDCPa6iXt4UcsFXcb5WmFq/WoH4FAOt2IqJX7+Nfe/QKBgQDsgKcKuzjzCT8c8ZFYm1R+32h607idXyOKk3sTBjYJA8uoLp93ZAwho2lP4npVrUGqJ1bybauy+0BGE+pBFAJMQcNkDLZJnb+cghIrTVu+jAMkX7glYijHtoBD3EA0o/AK7lp5KOdmPGaJJEKuh6ayRHaLqQrDOFy1b44mKCX8awKBgQCLiT0YPQI8CRfJfLmV/38Te3m3GltOUfQnuxTNGzxUGPFJNoxHJdy7H7dNv+yhYNLP7W+2IV2tcv6HTt0pCEnx55BDT499neaHX68weBHe73oWtXIHJ/n85WdZnIB6KJbnG5vP8RrkcKjinFK0DUxgDiMg/NCjzbJ8nut3O4Gb1wKBgQCIhwhnSIdqvbbCda2rUhgoGb5N0bVsm8R/tf3BkL9W2usRjsCeApKCRLyB0kM+/ILAwG8QCkGpVCPZkJuVsABXl0s9kZ0VyEwaBHiKqODCkj8qG1vJsO3LxM4s3pPuD4l+NfTiprtWqJ2ko9set86CcMVigFZnNj1GvDx6SIkNOwKBgAbEunTxiKk227OHXE09XoGobKgIHEO5T/mZZpHob025BANEJRvSZ1mgWTjpRWYylydE4jVYev3N5TDVD39NCqE0VVgehNxYC3Wnm4zjViKVRTvSw1w7gTHWQuQi5kyGqYM+YJl+nYpVOKv9Xzmip4DFTsjr2ocHlE/dOZjIBypzAoGAWdw56wzsizxEQ/C6JB5fRDYjt6ZI6YFDS/MdRbgnwbEsIWkZeDzIF0LgL66X1y74AEZS7N6KODOtshcMO0fAKLgbYiRsxiblcV3hnLDiwdMjZL3hLb+2duGM/Pi/oLrfyVFPPGe87jRd46xxoUya79Q+4PU7AsuUi0bKwfUDeZ0=";
    // 服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = TestPayController.webUrl + "/alipay-notify";
    // 页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
    public static String return_url = TestPayController.webUrl + "/alipay-return";
    // 请求网关地址
    public static String URL = "https://openapi.alipay.com/gateway.do";
    // 编码
    public static String CHARSET = "UTF-8";
    // 返回格式
    public static String FORMAT = "json";

    //支付宝公钥

    //沙箱环境
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzq4+rC45koo4iP1wNF8f8c6YklnQUYpJ5SziFU70RKZTn+NKXKHP2Tg+ocPj5PqisVwC9puQdlljDh2x4Fhz5DmKZnUV/gbuTJPWkObgyc14cYonN/Xq13FX3i8b4veNVJSfPEXxHz1VjuAepTAi6gy5IsNTWPY80Af3jjYLhhZYlNM7ZkPr7k2q9KoXQV63KRfnQYkfUXufiR3yYTdvyAFi8JL/DEBYmkp3SSj87ftpyuf40lVg/oQbgyxtpLFJZZ4/gEEjJl1AayZZlZCMdh9XYiPF3r4O2i4GVLkQRx9IQlJ9bYZIxd83JNGCBTVjOch/njpDgH5kNrrJ6swnDQIDAQAB";

    //生产环境
    // public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnXEEjU6wV6/zGFgmThKgJRd98rrWmxdbPda8Y0ED7qB/lmZmLW1pYl9mChffeM2QLmcqYhsnzVsiN2avUC5dBTuDeB0+I+usBQxp13nGrYp8hgUOPUwHUFGousulIUgKj0dooz/AGvFB0OjB/x5sqzPtAhMlbxgdTpwFiLm4kCrXyEduzFwMpVeEYOUXqJlFB/L9to4fmTIKbHcqA0GpQ0On/c+SHD3GQf/fPkk5nvaTnaWaGKLQFQV4Z8Rj0OWbc/Gjc4POgZEVz6d5v4iUMKDqKBL1z5iuNg9q4IaSI/Th2R3dxwiG1NqtWNwVsEYSS9PwyvHwYOhnSk6SV5PIrQIDAQAB";
    // 日志记录目录
    public static String log_path = "/log";
    // RSA2
    public static String SIGNTYPE = "RSA2";
}
